package neuralNetwork;

public class NeurolNetworkTest {

	public static void main(String[] args) {
		int[] networkSize = {3,5,3};
		NeuralNetwork network = new NeuralNetwork(networkSize);
		network.setWeights(getTestWeights(network.nofWeights())); 
		boolean[] b = {true,false,false}; 
		double[] output = (network.update(b));
		System.out.println(network);
	}	
	
	public static double[] getTestWeights(int nofWeights){
		double[] weights = new double[nofWeights]; 
		for (int i = 0; i < weights.length; i++) {
			weights[i] = Math.random(); 
		}
		return weights; 
	}
}